///////////////////////////////////////////////////////////////////////////////
//-----------------------------------------------------------------------------
#ifndef __UTIL_H__
#define __UTIL_H__

#include <Config.h>
#include <string>

//-----------------------------------------------------------------------------

void			trim ( std::string &str, std::string sep = " \t" );
void			ltrim ( std::string &str, std::string sep = " \t" );
void			rtrim ( std::string &str, std::string sep = " \t" );
std::string		extractWord ( std::string &str, std::string sep = " \t" );

/////////////////
// GL_TEXTURE stuff
/////////////////
int getIndexGLTexture ( GLenum idx );
GLenum getGLTexture ( int idx );

#endif	//	__UTIL_H__
//-----------------------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////////
